#ifdef linux
#ifndef __GET_YUV_H__
#define __GET_YUV_H__

#ifdef __cplusplus
extern "C" {
#endif

extern int init_camera(const char *dev_name, int width, int height);
extern int get_frame(void *buf, unsigned int bufsize);
extern void exit_camera(void);

#ifdef __cplusplus
}
#endif

#endif /* __GET_YUV_H__ */
#endif /* linux */
